package org.ooda.distributedsys.functionmodule;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @program: distributedSys
 * @description: 外置容器启动类
 * @author: Aprilies
 * @create: 2023-03-10 13:54
 **/

public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(FunctionModuleApplication.class);
    }
}
